package com.joostschouten.common.service.catpcha;

import java.io.IOException;
import java.util.Locale;

import com.octo.captcha.service.CaptchaServiceException;

public interface CaptchaService {

	boolean validateCaptcha(String captchaId, String value);

	byte[] getCaptcha(String captchaId, Locale locale) throws IOException, IllegalArgumentException, CaptchaServiceException;

}
